package com.cleaningcloud.erp.domain.vo;

import com.cleaningcloud.common.core.annotation.Excel;
import com.cleaningcloud.erp.domain.ErpProcudeReturn;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
public class ErpProcudeReturnVo extends ErpProcudeReturn {

    // 供应商名称
    @Excel(name = "供应商名称", sort = 3)
    private String supplierName;
    // 供应商负责人
    private String linkman;
    // 负责人联系电话
    private String linkmanPhone;
    // 仓库名称
    @Excel(name = "出库仓库", sort = 5)
    private String wareName;
    // 采购人
    private String procurePersonName;
    // 采购人联系电话
    private String procurePersonPhone;
    // 供应商地址
    private String address;
    // 负责人
    @Excel(name = "负责人", sort = 4)
    private String nickName;
    // 退换货数量
    @Excel(name = "退换货数量", sort = 6)
    private int outNumber;
    // 退换货明细表
    private List<ErpReturnDetailsVo> detailsList;
    // 采购时间
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date procureTime;
}
